package Template;

/**
 * @Author zhangjinxi
 * @Date: Created in 16:02 2018/2/28
 * @Description:
 */
public abstract class AbstractCalculator {

    public void calculate(String exp) {
        split(exp);
        calculate();
    }

    public abstract void calculate();

    private void split(String exp) {
        System.out.println("split exp!");
    }

}
